﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="LookUps.aspx.cs"
    Inherits="RCREEE.Web.LookUps" Culture="auto" meta:resourcekey="PageResource1"
    UICulture="auto" %>

<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI.WebControls" TagPrefix="asp" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="dialogContent" style="font-size: small">
        <p>
            Are you sure you want to delete?</p>
    </div>
    <asp:Panel ID="Panel3" runat="server" GroupingText="General" meta:resourcekey="Panel3Resource1">
        <table align="center" width="100%">
            <tr style="height: 100px">
                <td style="width: 25%;">
                    <asp:ListBox ID="CategoryLB" runat="server" AutoPostBack="True" DataSourceID="CategoryDataSource"
                        DataTextField="Name" DataValueField="ID" meta:resourcekey="CategoryLBResource1"
                        Height="200px" Width="100%"></asp:ListBox>
                </td>
                <td style="width: 25%; height: 100%">
                    <asp:UpdateProgress ID="Up1" runat="Server" AssociatedUpdatePanelID="ItemListUpdatepanel">
                        <progresstemplate>
                            <div class="progressBackgroundFilter">
                            </div>
                            <div class="processMessage">
                                Loading...<br />
                                <br />
                                <img alt="Loading..." src="Images/Loading.gif" />
                            </div>
                        </progresstemplate>
                    </asp:UpdateProgress>
                    <asp:UpdatePanel ID="ItemListUpdatepanel" runat="server">
                        <contenttemplate>
                            <asp:ListBox ID="ItemLB" runat="server" AutoPostBack="True" DataSourceID="ItemList"
                                DataTextField="Name" DataValueField="ID" Height="200px" meta:resourcekey="ItemLBResource1"
                                OnSelectedIndexChanged="ItemLB_SelectedIndexChanged" Width="100%"></asp:ListBox>
                        </contenttemplate>
                        <triggers>
                            <asp:AsyncPostBackTrigger ControlID="CategoryLB" EventName="SelectedIndexChanged" />
                        </triggers>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="width: 50%; height: 100%">
                    <asp:UpdateProgress ID="UpdateProgress1" runat="Server" AssociatedUpdatePanelID="UpdatePanel1">
                        <progresstemplate>
                            <div class="progressBackgroundFilter">
                            </div>
                            <div class="processMessage">
                                Loading...<br />
                                <br />
                                <img alt="Loading..." src="Images/Loading.gif" />
                            </div>
                        </progresstemplate>
                    </asp:UpdateProgress>
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <contenttemplate>
                            <asp:LinkButton ID="AddnewG" runat="server" OnClick="LinkButton1_Click" meta:resourcekey="LinkButton1Resource1"></asp:LinkButton>
                            <asp:FormView ID="DetailsView" runat="server" CellPadding="4" EnableModelValidation="True"
                                OnDataBound="DetailsView_DataBound" OnItemCommand="DetailsView_ItemCommand" OnItemInserting="DetailsView_ItemInserting"
                                OnItemDeleting="DetailsView_ItemDeleting" OnItemUpdating="DetailsView_ItemUpdating"
                                Width="100%" meta:resourcekey="DetailsViewResource1" OnModeChanging="DetailsView_ModeChanging"
                                OnItemDeleted="DetailsView_ItemDeleted" OnItemUpdated="DetailsView_ItemUpdated">
                                <EditItemTemplate>
                                    <table align="center" width="100%">
                                        <tr>
                                            <td class="style37" colspan="2">
                                                <asp:Panel ID="EnglishDetails" runat="server" GroupingText="English" Width="100%"
                                                    meta:resourcekey="EnglishDetailsResource1">
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="EENamelb" runat="server" meta:resourcekey="EENamelbResource1" Text="Name"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name0" runat="server" Text='<%# Bind("EnglishName") %>' Width="100%"
                                                                    meta:resourcekey="Name0Resource1"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="EEDescriptionlb" runat="server" meta:resourcekey="EEDescriptionlbResource1"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description0" runat="server" Text='<%# Bind("EnglishDescription") %>'
                                                                    TextMode="MultiLine" Width="100%" meta:resourcekey="Description0Resource1"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="style37" colspan="2">
                                                <asp:Panel ID="ArabicDetails" runat="server" GroupingText="Arabic" Width="100%" meta:resourcekey="ArabicDetailsResource1">
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="EANamelb" runat="server" meta:resourcekey="EANamelbResource1" Text="Name"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name1" runat="server" Text='<%# Bind("ArabicName") %>' Width="100%"
                                                                    meta:resourcekey="Name1Resource1"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="EADescriptionlb" runat="server" meta:resourcekey="EADescriptionlbResource1"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description1" runat="server" Text='<%# Bind("ArabicDescription") %>'
                                                                    TextMode="MultiLine" Width="100%" meta:resourcekey="Description1Resource1"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="style37" colspan="2">
                                                <asp:Panel ID="FrenchDetails" runat="server" GroupingText="French" Width="100%" meta:resourcekey="FrenchDetailsResource1">
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="EFNamelb" runat="server" meta:resourcekey="EFNamelbResource1" Text="Name"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name2" runat="server" Text='<%# Bind("FranceName") %>' Width="100%"
                                                                    meta:resourcekey="Name2Resource1"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="EFDescriptionlb" runat="server" meta:resourcekey="EFDescriptionlbResource1"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description2" runat="server" Text='<%# Bind("FranceDescription") %>'
                                                                    TextMode="MultiLine" Width="100%" meta:resourcekey="Description2Resource1"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="style38">
                                                <asp:Label ID="ECategorylb" runat="server" meta:resourcekey="ECategorylbResource1"
                                                    Text="Category"></asp:Label>
                                            </td>
                                            <td class="style39">
                                                <asp:DropDownList ID="ddCategory" runat="server" AutoPostBack="True" meta:resourcekey="ddCategoryResource1">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update" Text="Update"
                                        meta:resourcekey="UpdateButtonResource1"></asp:LinkButton>
                                    <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                                        Text="Cancel" meta:resourcekey="UpdateCancelButtonResource1"></asp:LinkButton>
                                    <asp:HiddenField ID="Category" runat="server" Value='<%# Bind("CategoryId") %>' />
                                    <asp:HiddenField ID="Item" runat="server" Value='<%# Bind("ItemId") %>' />
                                    <asp:HiddenField ID="CurrentCategoryId" runat="server" Value='<%# Bind("CategoryId") %>' />
                                    <asp:HiddenField ID="CurrentItemId" runat="server" Value='<%# Bind("ItemId") %>' />
                                    <asp:HiddenField ID="CurrentParentId" runat="server" Value='<%# Bind("ParentItemId") %>' />
                                    <%-- <asp:ObjectDataSource ID="listitem" runat="server" DataObjectTypeName="System.Collections.Generic.List`1[[RCREEE.Library.Entities.Lookups, RCREEE.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
                                    DeleteMethod="DeleteItemProjectGroup" SelectMethod="GetListItemsLookUps"
                                    TypeName="RCREEE.Library.Entities.Lookups" 
                                    UpdateMethod="UpdateItemLookUps">
                                    <DeleteParameters>
                                        <asp:Parameter Name="ItemId" Type="Int32" />
                                    </DeleteParameters>
                                    <SelectParameters>
                                        <asp:SessionParameter Name="LanguageCode" SessionField="LanguageCode" Type="Int32" />
                                        <asp:ControlParameter ControlID="ddCategory" Name="CategoryId" PropertyName="SelectedValue"
                                            Type="Int32" />
                                    </SelectParameters>
                                </asp:ObjectDataSource>--%>
                                    <asp:ObjectDataSource ID="ParentItemDataSource" runat="server" SelectMethod="GetListParentLookUps"
                                        TypeName="RCREEE.Library.Entities.Lookups">
                                        <SelectParameters>
                                            <asp:SessionParameter Name="LanguageCode" SessionField="LanguageCode" Type="Int32" />
                                            <asp:ControlParameter ControlID="CurrentPageParentId" Name="ParentItemId" PropertyName="Value"
                                                Type="Int32" />
                                        </SelectParameters>
                                    </asp:ObjectDataSource>
                                </EditItemTemplate>
                                <FooterStyle BackColor="#0268b0" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#0268b0" Font-Bold="True" ForeColor="White" />
                                <InsertItemTemplate>
                                    <table align="center" width="100%">
                                        <tr>
                                            <td>
                                                <asp:Panel ID="EnglishDetails" runat="server" GroupingText="English" Width="100%"
                                                    meta:resourcekey="EnglishDetailsResource2">
                                                    <table>
                                                        <tr>
                                                            <td class="style33" width="173">
                                                                <asp:Label ID="IENamelb" runat="server" meta:resourcekey="IENamelbResource1" Text="Name"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name0" runat="server" Text='<%# Bind("EnglishName") %>' Width="100%"
                                                                    meta:resourcekey="Name0Resource2"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style33" width="173">
                                                                <asp:Label ID="IEDescriptionlb" runat="server" meta:resourcekey="IEDescriptionlbResource1"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description0" runat="server" Text='<%# Bind("EnglishDescription") %>'
                                                                    TextMode="MultiLine" Width="100%" meta:resourcekey="Description0Resource2"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Panel ID="ArabicDetails" runat="server" GroupingText="Arabic" Width="100%" meta:resourcekey="ArabicDetailsResource2">
                                                    <table>
                                                        <tr>
                                                            <td class="style33">
                                                                <asp:Label ID="IANamelb" runat="server" meta:resourcekey="IANamelbResource1" Text="Name"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name1" runat="server" Text='<%# Bind("ArabicName") %>' Width="100%"
                                                                    meta:resourcekey="Name1Resource2"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style33">
                                                                <asp:Label ID="IADescriptionlb" runat="server" meta:resourcekey="IADescriptionlbResource1"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description1" runat="server" Text='<%# Bind("ArabicDescription") %>'
                                                                    TextMode="MultiLine" Width="100%" meta:resourcekey="Description1Resource2"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Panel ID="FrenchDetails" runat="server" GroupingText="French" Width="100%" meta:resourcekey="FrenchDetailsResource2">
                                                    <table>
                                                        <tr>
                                                            <td class="style33">
                                                                <asp:Label ID="IFNamelb" runat="server" meta:resourcekey="IFNamelbResource1" Text="Name"></asp:Label>
                                                                &nbsp;
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name2" runat="server" Text='<%# Bind("FranceName") %>' Width="100%"
                                                                    meta:resourcekey="Name2Resource2"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style33">
                                                                <asp:Label ID="IFDescriptionlb" runat="server" meta:resourcekey="IFDescriptionlbResource1"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description2" runat="server" Text='<%# Bind("FranceDescription") %>'
                                                                    TextMode="MultiLine" Width="100%" meta:resourcekey="Description2Resource2"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="ICategorylb" runat="server" meta:resourcekey="ICategorylbResource1"
                                                    Text="Category"></asp:Label>
                                                :
                                                <br />
                                                <asp:DropDownList ID="ddCategory" runat="server" AutoPostBack="True" Height="24px"
                                                    meta:resourcekey="ddCategoryResource1" Width="149px">
                                                </asp:DropDownList>
                                                <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="ddCategory"
                                                    ErrorMessage="Category" Operator="NotEqual" Type="Integer" ValueToCompare="0">*</asp:CompareValidator>
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert" Text="Insert"
                                        meta:resourcekey="InsertButtonResource1"></asp:LinkButton>
                                    <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                                        Text="Cancel" meta:resourcekey="UpdateCancelButtonResource1" OnClick="UpdateCancelButton_Click"></asp:LinkButton>
                                </InsertItemTemplate>
                                <ItemTemplate>
                                    <table align="center" width="100%">
                                        <tr>
                                            <td>
                                                <asp:Panel ID="EnglishDetails" runat="server" GroupingText="English" Width="100%"
                                                    meta:resourcekey="EnglishDetailsResource3">
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="ENamelb" runat="server" meta:resourcekey="ENamelbResource2" Text="Name"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Name0" runat="server" Text='<%# Bind("EnglishName") %>' Width="100%"
                                                                    meta:resourcekey="Name0Resource3"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="EDescriptionlb" runat="server" meta:resourcekey="EDescriptionlbResource2"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Description0" runat="server" Text='<%# Bind("EnglishDescription") %>'
                                                                    Width="100%" meta:resourcekey="Description0Resource3"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Panel ID="ArabicDetails" runat="server" GroupingText="Arabic" Width="100%" meta:resourcekey="ArabicDetailsResource3">
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="ANamelb" runat="server" meta:resourcekey="ANamelbResource2" Text="Name"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Name1" runat="server" Text='<%# Bind("ArabicName") %>' Width="100%"
                                                                    meta:resourcekey="Name1Resource3"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="ADescriptionlb" runat="server" meta:resourcekey="ADescriptionlbResource2"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Description1" runat="server" Text='<%# Bind("ArabicDescription") %>'
                                                                    Width="100%" meta:resourcekey="Description1Resource3"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Panel ID="FrenchDetails" runat="server" GroupingText="French" Width="100%" meta:resourcekey="FrenchDetailsResource3">
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="FNamelb" runat="server" meta:resourcekey="FNamelbResource2" Text="Name"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Name2" runat="server" Text='<%# Bind("FranceName") %>' Width="100%"
                                                                    meta:resourcekey="Name2Resource3"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="fDescriptionlb" runat="server" meta:resourcekey="fDescriptionlbResource1"
                                                                    Text="Description"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Description2" runat="server" Text='<%# Bind("FranceDescription") %>'
                                                                    Width="100%" meta:resourcekey="Description2Resource3"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <table>
                                                    <tr>
                                                        <td class="style43">
                                                            &nbsp;<asp:Label ID="ParentItemlb" runat="server" meta:resourcekey="ParentItemlbResource1"
                                                                Text="ParentItem"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="ParentItem" runat="server" Text='<%# Bind("ParentItemName") %>' meta:resourcekey="ParentItemResource1"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <table>
                                                    <tr>
                                                        <td class="style20">
                                                            <asp:Label ID="Categorylb" runat="server" meta:resourcekey="CategorylbResource2"
                                                                Text="Category" Style="text-align: center"></asp:Label>
                                                        </td>
                                                        <td width="200" style="text-align: left">
                                                            <asp:Label ID="CategoryName" runat="server" Text='<%# Bind("CategoryName") %>' meta:resourcekey="CategoryNameResource1"
                                                                Style="text-align: right"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:Button ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit"
                                        Text="Edit" meta:resourcekey="EditButtonResource1"></asp:Button>
                                    <asp:Button ID="NewButton" runat="server" CausesValidation="False" CommandName="New"
                                        Text="New" meta:resourcekey="NewButtonResource1"></asp:Button>
                                    <asp:Button ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete"
                                        Text="Delete" meta:resourcekey="DeleteButtonResource1" OnClientClick="javascript:return openDeletePopup(this.name);">
                                    </asp:Button>
                                    <asp:HiddenField ID="categoryId" runat="server" Value='<%# Bind("CategoryId") %>' />
                                    <asp:HiddenField ID="ItemId" runat="server" Value='<%# Bind("ItemId") %>' />
                                    <asp:HiddenField ID="ParentId" runat="server" Value='<%# Bind("ParentItemId") %>' />
                                </ItemTemplate>
                                <PagerStyle BackColor="#CCCCCC" ForeColor="#990000" HorizontalAlign="Center" />
                                <RowStyle BackColor="#EAEAEA" ForeColor="#333333" />
                            </asp:FormView>
                        </contenttemplate>
                        <triggers>
                            <asp:AsyncPostBackTrigger ControlID="CategoryLB" EventName="SelectedIndexChanged" />
                            <asp:AsyncPostBackTrigger ControlID="ItemLB" EventName="SelectedIndexChanged" />
                        </triggers>
                    </asp:UpdatePanel>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="Panel10" runat="server" GroupingText="Project Group &amp; Types" meta:resourcekey="Panel10Resource1">
        <asp:UpdateProgress ID="UpdateProgress2" runat="Server" AssociatedUpdatePanelID="UpdatePanel6">
            <progresstemplate>
                <div class="progressBackgroundFilter">
                </div>
                <div class="processMessage">
                    Loading...<br />
                    <br />
                    <img alt="Loading..." src="Images/Loading.gif" />
                </div>
            </progresstemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel ID="UpdatePanel6" runat="server">
            <contenttemplate>
                <table>
                    <tr>
                        <td>
                            <asp:ListBox ID="ProjectGroupslb" runat="server" AutoPostBack="True" DataSourceID="GetListProjectGroups"
                                DataTextField="Name" DataValueField="ID" OnSelectedIndexChanged="ProjectGroupslb_SelectedIndexChanged"
                                Width="193px" meta:resourcekey="ProjectGroupslbResource1" Height="200px"></asp:ListBox>
                            <br />
                            <asp:LinkButton ID="NewButton0" runat="server" CausesValidation="False" CommandName="New"
                                Height="19px" meta:resourcekey="NewButton0Resource1" OnClick="NewButton0_Click"
                                Style="width: 29px" Text="New"></asp:LinkButton>
                            <td class="style28">
                                <asp:UpdateProgress ID="UpdateProgress3" runat="Server" AssociatedUpdatePanelID="UpdatePanel2">
                                    <ProgressTemplate>
                                        <div class="progressBackgroundFilter">
                                        </div>
                                        <div class="processMessage">
                                            Loading...<br />
                                            <br />
                                            <img alt="Loading..." src="Images/Loading.gif" />
                                        </div>
                                    </ProgressTemplate>
                                </asp:UpdateProgress>
                                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                    <ContentTemplate>
                                        <table>
                                            <tr>
                                                <td>
                                                    <asp:FormView ID="FormView2" runat="server" Style="float: right;" EnableModelValidation="True"
                                                        CellPadding="4" ForeColor="#333333" OnItemInserting="FormView2_ItemInserting"
                                                        OnItemUpdating="FormView2_ItemUpdating" meta:resourcekey="FormView2Resource1"
                                                        OnModeChanging="FormView2_ModeChanging" Width="260px" OnItemDeleting="FormView2_ItemDeleting"
                                                        OnItemDeleted="FormView2_ItemDeleted" OnDataBound="FormView2_DataBound">
                                                        <EditItemTemplate>
                                                            <asp:Panel ID="Panel14" runat="server" GroupingText="English" meta:resourcekey="Panel14Resource1">
                                                                <table class="style1">
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Name" runat="server" Text="Name" meta:resourcekey="NameResource2"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Name0" runat="server" meta:resourcekey="Name0Resource4" Text='<%# Bind("EnglishName") %>'></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Description" runat="server" Text="Description" meta:resourcekey="DescriptionResource1"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Description0" runat="server" meta:resourcekey="Description0Resource4"
                                                                                Text='<%# Bind("EnglishDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                            <asp:Panel ID="Panel15" runat="server" GroupingText="Arabic" meta:resourcekey="Panel15Resource1">
                                                                <table class="style1">
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Name3" runat="server" Text="Name" meta:resourcekey="Name3Resource1"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Name1" runat="server" meta:resourcekey="Name1Resource4" Text='<%# Bind("ArabicName") %>'></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Description3" runat="server" Text="Description" meta:resourcekey="Description3Resource1"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Description1" runat="server" meta:resourcekey="Description1Resource4"
                                                                                Text='<%# Bind("ArabicDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                            <asp:Panel ID="Panel16" runat="server" GroupingText="France" meta:resourcekey="Panel16Resource1">
                                                                <table class="style1">
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Name4" runat="server" Text="Name" meta:resourcekey="Name4Resource1"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Name2" runat="server" meta:resourcekey="Name2Resource4" Text='<%# Bind("FranceName") %>'></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Description4" runat="server" Text="Description" meta:resourcekey="Description4Resource1"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Description2" runat="server" meta:resourcekey="Description2Resource4"
                                                                                Text='<%# Bind("FranceDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                            <asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update" meta:resourcekey="UpdateButtonResource2"
                                                                Text="Update"></asp:LinkButton>
                                                            <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                                                                meta:resourcekey="InsertCancelButtonResource2" Text="Cancel" OnClick="InsertCancelButton_Click1"></asp:LinkButton>
                                                        </EditItemTemplate>
                                                        <FooterStyle BackColor="#0268b0" Font-Bold="True" ForeColor="White" />
                                                        <HeaderStyle BackColor="#0268b0" Font-Bold="True" ForeColor="White" />
                                                        <InsertItemTemplate>
                                                            <asp:Panel ID="Panel14" runat="server" GroupingText="English" meta:resourcekey="Panel14Resource2">
                                                                <table class="style1">
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Name" runat="server" Text="Name" meta:resourcekey="NameResource3"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Name0" runat="server" meta:resourcekey="Name0Resource4" Text='<%# Bind("EnglishName") %>'></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            &nbsp;<asp:Label ID="Description" runat="server" Text="Description" meta:resourcekey="DescriptionResource2"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Description0" runat="server" meta:resourcekey="Description0Resource4"
                                                                                Text='<%# Bind("EnglishDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                            <asp:Panel ID="Panel15" runat="server" GroupingText="Arabic" meta:resourcekey="Panel15Resource2">
                                                                <table class="style1">
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Name3" runat="server" Text="Name" meta:resourcekey="Name3Resource2"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Name1" runat="server" meta:resourcekey="Name1Resource4" Text='<%# Bind("ArabicName") %>'></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Description3" runat="server" Text="Description" meta:resourcekey="Description3Resource2"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Description1" runat="server" meta:resourcekey="Description1Resource4"
                                                                                Text='<%# Bind("ArabicDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                            <asp:Panel ID="Panel16" runat="server" GroupingText="France" meta:resourcekey="Panel16Resource2">
                                                                <table class="style1">
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Name4" runat="server" Text="Name" meta:resourcekey="Name4Resource2"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Name2" runat="server" meta:resourcekey="Name2Resource4" Text='<%# Bind("FranceName") %>'></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Description4" runat="server" Text="Description" meta:resourcekey="Description4Resource2"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="Description2" runat="server" meta:resourcekey="Description2Resource4"
                                                                                Text='<%# Bind("FranceDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                            <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert" Text="Insert"
                                                                meta:resourcekey="InsertButtonResource2"></asp:LinkButton>
                                                            <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                                                                Text="Cancel" meta:resourcekey="InsertCancelButtonResource3" OnClick="InsertCancelButton_Click1"></asp:LinkButton>
                                                        </InsertItemTemplate>
                                                        <ItemTemplate>
                                                            <asp:Panel ID="Panel11" runat="server" GroupingText="English" meta:resourcekey="Panel11Resource1">
                                                                <table class="style1">
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Name" runat="server" Text="Name" meta:resourcekey="NameResource4"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:Label ID="EnglishName" runat="server" meta:resourcekey="EnglishNameResource1"
                                                                                Text='<%# Bind("EnglishName") %>'></asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="Description" runat="server" Text="Description" meta:resourcekey="DescriptionResource3"></asp:Label>
                                                                        </td>
                                                                        <td>
                                                                            <asp:Label ID="EDescription" runat="server" meta:resourcekey="EDescriptionResource1"
                                                                                Text='<%# Bind("EnglishDescription") %>'></asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                            <table class="style1">
                                                                <tr>
                                                                    <td class="style31">
                                                                        <asp:Panel ID="Panel12" runat="server" GroupingText="Arabic" meta:resourcekey="Panel12Resource1">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td class="style31">
                                                                                        <asp:Label ID="Name0" runat="server" Text="Name" meta:resourcekey="Name0Resource5"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="ArabicName" runat="server" meta:resourcekey="ArabicNameResource1"
                                                                                            Text='<%# Bind("ArabicName") %>'></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style31">
                                                                                        <asp:Label ID="Description0" runat="server" Text="Description" meta:resourcekey="Description0Resource5"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="ADescription" runat="server" meta:resourcekey="ADescriptionResource1"
                                                                                            Text='<%# Bind("ArabicDescription") %>'></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="style32">
                                                                        <asp:Panel ID="Panel13" runat="server" GroupingText="France" meta:resourcekey="Panel13Resource1">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td class="style31">
                                                                                        <asp:Label ID="Name1" runat="server" Text="Name" meta:resourcekey="Name1Resource5"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="FranceName" runat="server" meta:resourcekey="FranceNameResource1"
                                                                                            Text='<%# Bind("FranceName") %>'></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style31">
                                                                                        <asp:Label ID="Description1" runat="server" Text="Description" meta:resourcekey="Description1Resource5"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="FDescription" runat="server" meta:resourcekey="FDescriptionResource1"
                                                                                            Text='<%# Bind("FranceDescription") %>'></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <asp:Button ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit"
                                                                Text="Edit" meta:resourcekey="EditButtonResource1"></asp:Button>
                                                            <asp:Button ID="NewButton" runat="server" CausesValidation="False" CommandName="New"
                                                                Text="New" meta:resourcekey="NewButtonResource1"></asp:Button>
                                                            <asp:Button ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete"
                                                                Text="Delete" meta:resourcekey="DeleteButtonResource1" OnClientClick="javascript:return openDeletePopup(this.name);">
                                                            </asp:Button>
                                                        </ItemTemplate>
                                                        <PagerStyle BackColor="#CCCCCC" ForeColor="#990000" HorizontalAlign="Center" />
                                                        <RowStyle BackColor="#EAEAEA" ForeColor="#333333" />
                                                    </asp:FormView>
                                                </td>
                                                <td class="style30">
                                                    <asp:ListBox ID="ProjectTypes" runat="server" DataSourceID="GetListProjectType" DataTextField="Name"
                                                        DataValueField="ID" AutoPostBack="True" Visible="False" meta:resourcekey="ProjectTypesResource1"
                                                        OnSelectedIndexChanged="ProjectTypes_SelectedIndexChanged" Width="166px" Height="200px">
                                                    </asp:ListBox>
                                                    <br />
                                                    <asp:UpdatePanel ID="UpdatePanel7" runat="server">
                                                        <ContentTemplate>
                                                            <asp:LinkButton ID="NewType" runat="server" OnClick="NewType_Click" Visible="False">New</asp:LinkButton>
                                                        </ContentTemplate>
                                                        <Triggers>
                                                            <asp:AsyncPostBackTrigger ControlID="ProjectGroupslb" EventName="SelectedIndexChanged" />
                                                        </Triggers>
                                                    </asp:UpdatePanel>
                                                </td>
                                                <td width="250">
                                                    <asp:FormView ID="FormView3" runat="server" CellPadding="4" EnableModelValidation="True"
                                                        ForeColor="#333333" OnItemInserting="FormView3_ItemInserting" OnItemUpdating="FormView3_ItemUpdating"
                                                        meta:resourcekey="FormView3Resource1" OnModeChanging="FormView3_ModeChanging"
                                                        Width="260px" Height="247px" OnDataBound="FormView3_DataBound" OnItemDeleting="FormView3_ItemDeleting"
                                                        OnItemDeleted="FormView3_ItemDeleted">
                                                        <EditItemTemplate>
                                                            <table class="style1">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="EProjectGrouplb" runat="server" meta:resourcekey="EProjectGrouplbResource1"
                                                                            Text="Project Group"></asp:Label>
                                                                        &nbsp;
                                                                    </td>
                                                                    <td>
                                                                        <asp:DropDownList ID="ProjectGroups" runat="server" DataSourceID="GetListProjectGroups"
                                                                            DataTextField="Name" DataValueField="ID" meta:resourcekey="ProjectGroupsResource1"
                                                                            SelectedValue='<%# Bind("ParentItemId") %>'>
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <asp:Panel ID="Panel14" runat="server" GroupingText="English" meta:resourcekey="Panel14Resource3">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Name" runat="server" Text="Name" meta:resourcekey="NameResource5"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Name0" runat="server" meta:resourcekey="Name0Resource4" Text='<%# Bind("EnglishName") %>'></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        &nbsp;<asp:Label ID="Description" runat="server" Text="Description" meta:resourcekey="DescriptionResource4"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Description0" runat="server" meta:resourcekey="Description0Resource4"
                                                                                            Text='<%# Bind("EnglishDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="Panel15" runat="server" GroupingText="Arabic" meta:resourcekey="Panel15Resource3">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Name3" runat="server" Text="Name" meta:resourcekey="Name3Resource3"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Name1" runat="server" meta:resourcekey="Name1Resource4" Text='<%# Bind("ArabicName") %>'></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Description3" runat="server" Text="Description" meta:resourcekey="Description3Resource3"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Description1" runat="server" meta:resourcekey="Description1Resource4"
                                                                                            Text='<%# Bind("ArabicDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="Panel16" runat="server" GroupingText="France" meta:resourcekey="Panel16Resource3">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Name4" runat="server" Text="Name" meta:resourcekey="Name4Resource3"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Name2" runat="server" meta:resourcekey="Name2Resource4" Text='<%# Bind("FranceName") %>'></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Description4" runat="server" Text="Description" meta:resourcekey="Description4Resource3"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Description2" runat="server" meta:resourcekey="Description2Resource4"
                                                                                            Text='<%# Bind("FranceDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update" meta:resourcekey="UpdateButtonResource3"
                                                                Text="Update"></asp:LinkButton>
                                                            <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                                                                meta:resourcekey="InsertCancelButtonResource4" Text="Cancel" OnClick="InsertCancelButton_Click"></asp:LinkButton>
                                                        </EditItemTemplate>
                                                        <FooterStyle BackColor="#0268b0" Font-Bold="True" ForeColor="White" />
                                                        <HeaderStyle BackColor="#0268b0" Font-Bold="True" ForeColor="White" />
                                                        <InsertItemTemplate>
                                                            <table class="style1">
                                                                <tr>
                                                                    <td class="style19">
                                                                        <asp:Label ID="IProjectGrouplb" runat="server" meta:resourcekey="IProjectGrouplbResource1"
                                                                            Text="Project Group" Style="font-weight: 700"></asp:Label>
                                                                        :
                                                                    </td>
                                                                    <td>
                                                                        <asp:DropDownList ID="ProjectGroups" runat="server" AutoPostBack="True" DataSourceID="GetListProjectGroups"
                                                                            DataTextField="Name" DataValueField="ID" meta:resourcekey="ProjectGroupsResource1"
                                                                            Height="36px" Width="140px">
                                                                        </asp:DropDownList>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <asp:Panel ID="Panel14" runat="server" GroupingText="English" meta:resourcekey="Panel14Resource4">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Name" runat="server" Text="Name" meta:resourcekey="NameResource6"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Name0" runat="server" meta:resourcekey="Name0Resource4" Text='<%# Bind("EnglishName") %>'></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        &nbsp;<asp:Label ID="Description" runat="server" Text="Description" meta:resourcekey="DescriptionResource5"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Description0" runat="server" meta:resourcekey="Description0Resource4"
                                                                                            Text='<%# Bind("EnglishDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="Panel15" runat="server" GroupingText="Arabic" meta:resourcekey="Panel15Resource4">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Name3" runat="server" Text="Name" meta:resourcekey="Name3Resource4"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Name1" runat="server" meta:resourcekey="Name1Resource4" Text='<%# Bind("ArabicName") %>'></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Description3" runat="server" Text="Description" meta:resourcekey="Description3Resource4"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Description1" runat="server" meta:resourcekey="Description1Resource4"
                                                                                            Text='<%# Bind("ArabicDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="Panel16" runat="server" GroupingText="France" meta:resourcekey="Panel16Resource4">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Name4" runat="server" Text="Name" meta:resourcekey="Name4Resource4"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Name2" runat="server" meta:resourcekey="Name2Resource4" Text='<%# Bind("FranceName") %>'></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Description4" runat="server" Text="Description" meta:resourcekey="Description4Resource4"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:TextBox ID="Description2" runat="server" meta:resourcekey="Description2Resource4"
                                                                                            Text='<%# Bind("FranceDescription") %>' TextMode="MultiLine"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert" Text="Insert"
                                                                meta:resourcekey="InsertButtonResource3"></asp:LinkButton>
                                                            <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                                                                Text="Cancel" meta:resourcekey="InsertCancelButtonResource5" OnClick="InsertCancelButton_Click"></asp:LinkButton>
                                                        </InsertItemTemplate>
                                                        <ItemTemplate>
                                                            <table class="style1">
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <asp:Panel ID="Panel11" runat="server" GroupingText="English" meta:resourcekey="Panel11Resource2">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Name" runat="server" Text="Name" meta:resourcekey="NameResource7"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="EnglishName" runat="server" Text='<%# Bind("EnglishName") %>' meta:resourcekey="EnglishNameResource1"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:Label ID="Description" runat="server" Text="Description" meta:resourcekey="DescriptionResource6"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="EDescription" runat="server" Text='<%# Bind("EnglishDescription") %>'
                                                                                            meta:resourcekey="EDescriptionResource1"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="Panel12" runat="server" GroupingText="Arabic" meta:resourcekey="Panel12Resource2">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td class="style31">
                                                                                        <asp:Label ID="Name0" runat="server" Text="Name" meta:resourcekey="Name0Resource6"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="ArabicName" runat="server" meta:resourcekey="ArabicNameResource1"
                                                                                            Text='<%# Bind("ArabicName") %>'></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style31">
                                                                                        <asp:Label ID="Description0" runat="server" Text="Description" meta:resourcekey="Description0Resource6"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="ADescription" runat="server" meta:resourcekey="ADescriptionResource1"
                                                                                            Text='<%# Bind("ArabicDescription") %>'></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="Panel13" runat="server" GroupingText="France" meta:resourcekey="Panel13Resource2">
                                                                            <table class="style1">
                                                                                <tr>
                                                                                    <td class="style31">
                                                                                        <asp:Label ID="Name1" runat="server" Text="Name" meta:resourcekey="Name1Resource6"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="FranceName" runat="server" meta:resourcekey="FranceNameResource1"
                                                                                            Text='<%# Bind("FranceName") %>'></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style31">
                                                                                        <asp:Label ID="Description1" runat="server" Text="Description" meta:resourcekey="Description1Resource6"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="FDescription" runat="server" meta:resourcekey="FDescriptionResource1"
                                                                                            Text='<%# Bind("FranceDescription") %>'></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="Label10" runat="server" Text="ProjectGroup" CssClass="ui-priority-primary"
                                                                            meta:resourcekey="Label10Resource1"></asp:Label>
                                                                        &nbsp;
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="ProjectGroup" runat="server" Text='<%# Bind("ParentItemName") %>'
                                                                            meta:resourcekey="ProjectGroupResource1"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="ParentItemlb" runat="server" CssClass="ui-priority-primary" meta:resourcekey="ParentItemlbResource2"
                                                                            Text="Parent Item" Visible="False"></asp:Label>
                                                                        &nbsp;
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="ParentItem" runat="server" meta:resourcekey="ParentItemResource2"
                                                                            Text='<%# Bind("ParentItemName") %>' Visible="False"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <asp:Button ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit"
                                                                Text="Edit" meta:resourcekey="EditButtonResource1"></asp:Button>
                                                            <asp:Button ID="NewButton" runat="server" CausesValidation="False" CommandName="New"
                                                                Text="New" meta:resourcekey="NewButtonResource1"></asp:Button>
                                                            <asp:Button ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete"
                                                                Text="Delete" meta:resourcekey="DeleteButtonResource1" OnClientClick="javascript:return openDeletePopup(this.name);">
                                                            </asp:Button>
                                                            <asp:HiddenField ID="ItemId" runat="server" Value='<%# Bind("ItemId") %>' />
                                                        </ItemTemplate>
                                                        <PagerStyle BackColor="#CCCCCC" ForeColor="#990000" HorizontalAlign="Center" />
                                                        <RowStyle BackColor="#EAEAEA" ForeColor="#333333" />
                                                    </asp:FormView>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="ProjectGroupslb" EventName="SelectedIndexChanged" />
                                        <asp:AsyncPostBackTrigger ControlID="ProjectTypes" EventName="SelectedIndexChanged" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </td>
                    </tr>
                    </td>
                </table>
            </contenttemplate>
        </asp:UpdatePanel>
    </asp:Panel>
    <asp:Panel ID="Panel2" runat="server" GroupingText="Entities\Fields" meta:resourcekey="Panel2Resource1">
        <table class="style1">
            <tr>
                <td class="style2">
                    <asp:ListBox ID="LBEntities" runat="server" AutoPostBack="True" Width="313px" DataSourceID="EntitiesDataSource"
                        DataTextField="Name" DataValueField="ID" meta:resourcekey="LBEntitiesResource1"
                        OnSelectedIndexChanged="LBEntities_SelectedIndexChanged" Height="200px"></asp:ListBox>
                </td>
                <td>
                    <asp:UpdateProgress ID="UpdateProgress4" runat="Server" AssociatedUpdatePanelID="UpdatePanel3">
                        <progresstemplate>
                            <div class="progressBackgroundFilter">
                            </div>
                            <div class="processMessage">
                                Loading...<br />
                                <br />
                                <img alt="Loading..." src="Images/Loading.gif" />
                            </div>
                        </progresstemplate>
                    </asp:UpdateProgress>
                    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                        <contenttemplate>
                            <asp:ListBox ID="LBFeilds" runat="server" AutoPostBack="True" Width="296px" OnSelectedIndexChanged="LBFeilds_SelectedIndexChanged"
                                meta:resourcekey="LBFeildsResource1" Height="200px"></asp:ListBox>
                        </contenttemplate>
                        <triggers>
                            <asp:AsyncPostBackTrigger ControlID="LBEntities" EventName="SelectedIndexChanged" />
                        </triggers>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:UpdateProgress ID="UpdateProgress5" runat="Server" AssociatedUpdatePanelID="UpdatePanel4">
                        <progresstemplate>
                            <div class="progressBackgroundFilter">
                            </div>
                            <div class="processMessage">
                                Loading...<br />
                                <br />
                                <img alt="Loading..." src="Images/Loading.gif" />
                            </div>
                        </progresstemplate>
                    </asp:UpdateProgress>
                    <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                        <contenttemplate>
                            <asp:LinkButton ID="AddNew" runat="server" OnClick="AddNew_Click" meta:resourcekey="AddNewResource1">AddNew</asp:LinkButton>
                            <asp:FormView ID="FeildsFormveiw" runat="server" Width="341px" CellPadding="4" EnableModelValidation="True"
                                ForeColor="#333333" OnDataBound="FeildsFormveiw_DataBound" OnItemUpdating="FeildsFormveiw_ItemUpdating"
                                OnItemDeleting="FeildsFormveiw_ItemDeleting" OnItemInserting="FeildsFormveiw_ItemInserting"
                                OnModeChanging="FeildsFormveiw_ModeChanging" meta:resourcekey="FeildsFormveiwResource1">
                                <EditItemTemplate>
                                    <table class="style1">
                                        <tr>
                                            <td align="right">
                                                <asp:Label ID="Label21" runat="server" Text="Categories"></asp:Label>
                                            </td>
                                            <td class="style14">
                                                <asp:DropDownList ID="Entities" runat="server" AutoPostBack="True" meta:resourcekey="ProjectGroupsResource1"
                                                    Width="150px">
                                                    <asp:ListItem Value="0" meta:resourcekey="ListItemResource1">&quot;&quot;</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="Entities"
                                                    ErrorMessage="Entities" Operator="NotEqual" Type="Integer" ValueToCompare="0"
                                                    meta:resourcekey="CompareValidator1Resource1">*</asp:CompareValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <asp:Panel ID="Panel7" runat="server" GroupingText="English" meta:resourcekey="Panel7Resource1">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style3">
                                                                <asp:Label ID="Label4" runat="server" Text="Name" meta:resourcekey="Label4Resource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name0" runat="server" Text='<%# Bind("EnglishName") %>' meta:resourcekey="Name0Resource7"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style3">
                                                                <asp:Label ID="Label5" runat="server" Text="Description" meta:resourcekey="Label5Resource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description0" runat="server" Text='<%# Bind("EnglishDescription") %>'
                                                                    TextMode="MultiLine" Width="168px" meta:resourcekey="Description0Resource7"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <asp:Panel ID="Panel8" runat="server" GroupingText="Arabic" meta:resourcekey="Panel8Resource1">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style18">
                                                                <asp:Label ID="Label6" runat="server" Text="Name" meta:resourcekey="Label6Resource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name1" runat="server" Text='<%# Bind("ArabicName") %>' Width="168px"
                                                                    meta:resourcekey="Name1Resource7"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style18">
                                                                <asp:Label ID="Label7" runat="server" Text="Description" meta:resourcekey="Label7Resource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description1" runat="server" Text='<%# Bind("ArabicDescription") %>'
                                                                    TextMode="MultiLine" Width="168px" meta:resourcekey="Description1Resource7"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <asp:Panel ID="Panel9" runat="server" GroupingText="France" meta:resourcekey="Panel9Resource1">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style19">
                                                                <asp:Label ID="Label9" runat="server" Text="Name" meta:resourcekey="Label9Resource1"></asp:Label>
                                                            </td>
                                                            <td class="style14">
                                                                <asp:TextBox ID="Name2" runat="server" meta:resourcekey="Name2Resource6" Text='<%# Bind("FranceName") %>'
                                                                    Width="168px"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style19">
                                                                <asp:Label ID="Label8" runat="server" Text="Description" meta:resourcekey="Label8Resource1"></asp:Label>
                                                            </td>
                                                            <td class="style14">
                                                                <asp:TextBox ID="Description2" runat="server" meta:resourcekey="Description2Resource6"
                                                                    Text='<%# Bind("FranceDescription") %>' TextMode="MultiLine" Width="168px"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update" Text="Update"
                                        meta:resourcekey="UpdateButtonResource4"></asp:LinkButton>
                                    <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                                        Text="Cancel" meta:resourcekey="UpdateCancelButtonResource2" OnClick="UpdateCancelButton_Click1"></asp:LinkButton>
                                </EditItemTemplate>
                                <FooterStyle BackColor="#0268b0" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#0268b0" Font-Bold="True" ForeColor="White" />
                                <InsertItemTemplate>
                                    <table class="style1">
                                        <tr>
                                            <td align="right" class="style20">
                                                <asp:Label ID="Label21" runat="server" Text="Categories"></asp:Label>
                                            </td>
                                            <td class="style14">
                                                <asp:DropDownList ID="Entities" runat="server" AutoPostBack="True" meta:resourcekey="ProjectGroupsResource1"
                                                    Width="150px">
                                                    <asp:ListItem Value="0" meta:resourcekey="ListItemResource2">&quot;&quot;</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="Entities"
                                                    ErrorMessage="Entities" Operator="NotEqual" Type="Integer" ValueToCompare="0"
                                                    meta:resourcekey="CompareValidator1Resource2">*</asp:CompareValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <asp:Panel ID="Panel7" runat="server" GroupingText="English" meta:resourcekey="Panel7Resource2">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style3">
                                                                <asp:Label ID="Label4" runat="server" Text="Name" meta:resourcekey="Label4Resource2"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name0" runat="server" Text='<%# Bind("EnglishName") %>' meta:resourcekey="Name0Resource8"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style3">
                                                                <asp:Label ID="Label5" runat="server" Text="Description" meta:resourcekey="Label5Resource2"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description0" runat="server" Text='<%# Bind("EnglishDescription") %>'
                                                                    TextMode="MultiLine" Width="168px" meta:resourcekey="Description0Resource8"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <asp:Panel ID="Panel8" runat="server" GroupingText="Arabic" meta:resourcekey="Panel8Resource2">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style23">
                                                                <asp:Label ID="Label6" runat="server" Text="Name" meta:resourcekey="Label6Resource2"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Name1" runat="server" Text='<%# Bind("ArabicName") %>' Width="168px"
                                                                    meta:resourcekey="Name1Resource8"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style23">
                                                                <asp:Label ID="Label7" runat="server" Text="Description" meta:resourcekey="Label7Resource2"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="Description1" runat="server" Text='<%# Bind("ArabicDescription") %>'
                                                                    TextMode="MultiLine" Width="168px" meta:resourcekey="Description1Resource8"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <asp:Panel ID="Panel9" runat="server" GroupingText="France" meta:resourcekey="Panel9Resource2">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style21">
                                                                <asp:Label ID="Label9" runat="server" Text="Name" meta:resourcekey="Label9Resource2"></asp:Label>
                                                            </td>
                                                            <td class="style14">
                                                                <asp:TextBox ID="Name2" runat="server" meta:resourcekey="Name2Resource6" Text='<%# Bind("FranceName") %>'
                                                                    Width="168px"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style21">
                                                                <asp:Label ID="Label8" runat="server" Text="Description" meta:resourcekey="Label8Resource2"></asp:Label>
                                                            </td>
                                                            <td class="style14">
                                                                <asp:TextBox ID="Description2" runat="server" meta:resourcekey="Description2Resource6"
                                                                    Text='<%# Bind("FranceDescription") %>' TextMode="MultiLine" Width="168px"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert" Text="Insert"
                                        meta:resourcekey="InsertButtonResource3"></asp:LinkButton>
                                    <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                                        Text="Cancel" meta:resourcekey="InsertCancelButtonResource5"></asp:LinkButton>
                                </InsertItemTemplate>
                                <ItemTemplate>
                                    <table class="style1">
                                        <tr>
                                            <td class="style3" colspan="2">
                                                <asp:Panel ID="Panel4" runat="server" GroupingText="English" Width="338px" meta:resourcekey="Panel4Resource1">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style3">
                                                                <asp:Label ID="EnglishName" runat="server" Text="Name" meta:resourcekey="EnglishNameResource2"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="EName" runat="server" Text='<%# Bind("EnglishName") %>' meta:resourcekey="ENameResource1"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style3">
                                                                <asp:Label ID="LbDesc" runat="server" Text="Description" meta:resourcekey="LbDescResource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="EDesc" runat="server" Text='<%# Bind("EnglishDescription") %>' Width="62px"
                                                                    meta:resourcekey="EDescResource1"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                                <asp:Panel ID="Panel5" runat="server" GroupingText="Arabic" Width="338px" meta:resourcekey="Panel5Resource1">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style11">
                                                                <asp:Label ID="AName" runat="server" Text="Name" meta:resourcekey="ANameResource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="ANamelb" runat="server" Text='<%# Bind("ArabicName") %>' Width="62px"
                                                                    meta:resourcekey="ANamelbResource3"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style11">
                                                                <asp:Label ID="ADesc" runat="server" Text="Description" meta:resourcekey="ADescResource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="ADescr" runat="server" Text='<%# Bind("ArabicDescription") %>' Width="62px"
                                                                    meta:resourcekey="ADescrResource1"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                                <asp:Panel ID="Panel6" runat="server" GroupingText="France" Width="338px" meta:resourcekey="Panel6Resource1">
                                                    <table class="style1">
                                                        <tr>
                                                            <td class="style10">
                                                                <asp:Label ID="Fname" runat="server" Text="Name" meta:resourcekey="FnameResource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="FrName" runat="server" Text='<%# Bind("FranceName") %>' Width="62px"
                                                                    meta:resourcekey="FrNameResource1"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="style10">
                                                                <asp:Label ID="lbFDEs" runat="server" Text="Description" meta:resourcekey="lbFDEsResource1"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="FrDes" runat="server" Text='<%# Bind("FranceDescription") %>' Width="62px"
                                                                    meta:resourcekey="FrDesResource1"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="style3">
                                                <asp:Label ID="Label21" runat="server" Text="Categories"></asp:Label>
                                            </td>
                                            <td class="style3">
                                                <asp:Label ID="Entites" runat="server" Text='<%# Bind("ParentItemName") %>' meta:resourcekey="EntitesResource1"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:Button ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit"
                                        Text="Edit" meta:resourcekey="EditButtonResource1"></asp:Button>
                                    <asp:Button ID="NewButton" runat="server" CausesValidation="False" CommandName="New"
                                        Text="New" meta:resourcekey="NewButtonResource1"></asp:Button>
                                    <asp:Button ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete"
                                        Text="Delete" meta:resourcekey="DeleteButtonResource1" OnClientClick="javascript:return openDeletePopup(this.name);">
                                    </asp:Button>
                                    <asp:HiddenField ID="ItemId" runat="server" Value='<%# Bind("ItemId") %>' />
                                </ItemTemplate>
                                <PagerStyle BackColor="#CCCCCC" ForeColor="#990000" HorizontalAlign="Center" />
                                <RowStyle BackColor="#EAEAEA" ForeColor="#333333" />
                            </asp:FormView>
                        </contenttemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
        </table>
    </asp:Panel>
    <br />
    <asp:ObjectDataSource ID="ItemList" runat="server" DataObjectTypeName="System.Collections.Generic.List`1[[RCREEE.Library.Entities.Lookups, RCREEE.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
        DeleteMethod="DeleteItemProjectGroup" SelectMethod="GetListItemsLookUps" TypeName="RCREEE.Library.Entities.Lookups"
        UpdateMethod="UpdateItemLookUps">
        <deleteparameters>
            <asp:Parameter Name="ItemId" Type="Int32" />
        </deleteparameters>
        <selectparameters>
            <asp:SessionParameter Name="LanguageCode" SessionField="LanguageCode" Type="Int32" />
            <asp:ControlParameter ControlID="CategoryLB" Name="CategoryId" PropertyName="SelectedValue"
                Type="Int32" />
        </selectparameters>
    </asp:ObjectDataSource>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
    <asp:ObjectDataSource ID="GetProjectGroups" runat="server" DeleteMethod="DeleteItemProjectGroup"
        SelectMethod="GetItemProjectGroups" TypeName="RCREEE.Library.Entities.Lookups">
        <deleteparameters>
            <asp:Parameter Name="ItemId" Type="Int32" />
        </deleteparameters>
        <selectparameters>
            <asp:ControlParameter ControlID="ProjectGroupslb" Name="ItemId" PropertyName="SelectedValue"
                Type="Int32" />
        </selectparameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="GetListProjectType" runat="server" DataObjectTypeName="System.Collections.Generic.List`1[[RCREEE.Library.Entities.Lookups, RCREEE.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
        DeleteMethod="DeleteItemLookUps" SelectMethod="GetItemProjectTypes" TypeName="RCREEE.Library.Entities.Lookups"
        UpdateMethod="UpdateItemLookUps">
        <deleteparameters>
            <asp:Parameter Name="ItemId" Type="Int32" />
            <asp:Parameter Name="LanguageCode" Type="Int32" />
        </deleteparameters>
        <selectparameters>
            <asp:ControlParameter ControlID="ProjectGroupslb" Name="ParentId" PropertyName="SelectedValue"
                Type="Int32" />
            <asp:SessionParameter Name="LanguageCode" SessionField="LanguageCode" Type="Int32" />
        </selectparameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="CategoryDataSource" runat="server" SelectMethod="GetCategories"
        TypeName="RCREEE.Library.Entities.Lookups"></asp:ObjectDataSource>
    <asp:ObjectDataSource ID="ProjectTypeDatasource" runat="server" DataObjectTypeName="RCREEE.Library.Entities.Lookups"
        DeleteMethod="DeleteItemProjectGroup" InsertMethod="InsertItemLookUps" SelectMethod="GetProjectTypes"
        TypeName="RCREEE.Library.Entities.Lookups" UpdateMethod="UpdateItemLookUps">
        <deleteparameters>
            <asp:Parameter Name="ItemId" Type="Int32" />
        </deleteparameters>
        <selectparameters>
            <asp:ControlParameter ControlID="ProjectTypes" Name="ItemId" PropertyName="SelectedValue"
                Type="Int32" />
            <asp:SessionParameter Name="LanguageCode" SessionField="LanguageCode" Type="Int32" />
        </selectparameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="GetListProjectGroups" runat="server" SelectMethod="GetListItemsLookUps"
        TypeName="RCREEE.Library.Entities.Lookups" DataObjectTypeName="System.Collections.Generic.List`1[[RCREEE.Library.Entities.Lookups, RCREEE.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
        UpdateMethod="UpdateItemLookUps">
        <selectparameters>
            <asp:SessionParameter Name="LanguageCode" SessionField="LanguageCode" Type="Int32" />
            <asp:Parameter DefaultValue="9" Name="CategoryID" Type="Int32" />
        </selectparameters>
    </asp:ObjectDataSource>
    <asp:HiddenField ID="CurrentPageParentId" runat="server" Value='<%# Bind("ParentId") %>' />
    <asp:ObjectDataSource ID="EntitiesDataSource" runat="server" DataObjectTypeName="System.Collections.Generic.List`1[[RCREEE.Library.Entities.Lookups, RCREEE.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"
        DeleteMethod="DeleteItemProjectGroup" SelectMethod="GetContactEntities" TypeName="RCREEE.Library.Entities.Lookups"
        UpdateMethod="UpdateItemLookUps">
        <deleteparameters>
            <asp:Parameter Name="ItemId" Type="Int32" />
        </deleteparameters>
        <selectparameters>
            <asp:SessionParameter Name="LanguageCode" SessionField="LanguageCode" Type="Int32" />
        </selectparameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="FiledsDataSource" runat="server" DeleteMethod="DeleteItemProjectGroup"
        SelectMethod="GetItemFeilds" TypeName="RCREEE.Library.Entities.Lookups">
        <deleteparameters>
            <asp:Parameter Name="ItemId" Type="Int32" />
        </deleteparameters>
        <selectparameters>
            <asp:ControlParameter ControlID="LBEntities" Name="ParentId" PropertyName="SelectedValue"
                Type="Int32" />
            <asp:SessionParameter Name="LanguageCode" SessionField="LanguageCode" Type="Int32" />
        </selectparameters>
    </asp:ObjectDataSource>
    <br />
    <br />
    <br />
</asp:Content>
<%--
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style3
        {
            height: 25px;
        }
        .style4
        {
            width: 148px;
        }
        .style5
        {
            width: 478px;
        }
        .style6
        {
        }
        .style7
        {
            width: 229px;
        }
        .style8
        {
            width: 153px;
        }
    </style>
</head>
<body>
   
</body>
</html>--%>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="head">
    <script type="text/javascript">
        $().ready(function () {
            $('#dialogContent').dialog({
                autoOpen: false,
                modal: true,
                bgiframe: true,
                title: "Confirm Delete",
                width: 300,
                height: 200
            });
        });

        function openDeletePopup(uniqueID) {
            debugger;
            $('#dialogContent').dialog('option', 'buttons',
                {
                    "OK": function () { __doPostBack(uniqueID, ''); $(this).dialog("close"); },
                    "Cancel": function () { $(this).dialog("close"); }
                });

            $('#dialogContent').dialog('open');

            return false;
        }

    </script>
    <div id="header">
        <div id="section">
            <table width="100%">
                <tr>
                    <td width="25%" align="center" valign="middle">
                        <img src="Images/LogoRCREEE_Transparent.png" width="200px" />
                    </td>
                    <td width="50%" align="center">
                        <asp:Label ID="lbl_header_center" runat="server" Text="دليل إمكانيات الدول العربية<br/>في<br />مجالات الطاقة المتجددة و رفع كفاءة إنتاج و إستهلاك الطاقة"
                            Font-Bold="True" Font-Size="X-Large" Style="font-weight: bolder; color: #FFFFFF;
                            font-size: x-large; width: 100%; text-align: center;" meta:resourcekey="lbl_header_centerResource1">
                        </asp:Label>
                    </td>
                    <td width="25%" align="center" valign="middle">
                        <img src="Images/las-logo.png" width="100px" />
                    </td>
                </tr>
            </table>
        </div>
        <ul>
            <li><a href="Default.aspx">Home</a></li>
            <li><a href="Index.aspx">Index</a></li>
            <li><a href="Topics.aspx">Topics</a></li>
            <li><a href="CountrySelector.aspx">Countries</a></li>
            <li><a href="Aboutus.aspx">About Us</a></li>
            <li><a href="contactus.aspx">Contact us</a></li>
        </ul>
    </div>
</asp:Content>
